package com.feri.fss.controller;

import com.feri.fss.common.vo.PageBean;
import com.feri.fss.service.intf.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Feri
 * @date 2021/12/15 16:05
 * @description:TODO
 */
@Controller
@RequestMapping("/api/user/")
public class UserController {
    @Autowired
    private UserService service;
    @RequestMapping("page.do")
    @ResponseBody
    public PageBean page(int page,int limit){
        return service.queryPage(page, limit);
    }
}
